export let baseUrl;
export let version;
if (process.env.NODE_ENV === 'development') {
  baseUrl = import.meta.env.PROJECT_DEV_BASE_URL;
  console.log('开发环境')
} else {
  baseUrl = import.meta.env.PROJECT_BASE_URL;
  console.log('正式环境')
}

version = import.meta.env.PROJECT_VERSION;
export const apiPath = import.meta.env.PROJECT_API_PATH;

export const staticUrl = import.meta.env.PROJECT_STATIC_URL;

export default {
  baseUrl,
  apiPath,
  staticUrl,
};
